package com.kaili.basic.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description:
 * @Author: shenliqiang
 * @CreateDate: 2019/7/24 14:20
 * @Version: 1.0
 */
@Data
public class MdmDeviceOnlineUpdateDto extends PageDto{

    @ApiModelProperty(name = "imei", value = "imei，用于标识修改哪条记录",notes = "用于标识修改哪条记录")
    private String imei;

    @ApiModelProperty(name = "sn", value = "sn，用于标识修改哪条记录",notes = "用于标识修改哪条记录")
    private String sn;

    @ApiModelProperty(name = "oendTime", value = "最后在线时间")
    private Date oendTime;

    @NotEmpty(message = "请上传版本号")
    @ApiModelProperty(name = "romVersion", value = "ROM版本号")
    private String romVersion;

    @ApiModelProperty(name = "appVersion", value = "主APP版本号")
    private String appVersion;

    @ApiModelProperty(name = "assistantVersion", value = "助手版本号")
    private String assistantVersion;

    @ApiModelProperty(name = "deviceStatusId", value = "设备状态Id，数据字典，102-已注册,103-已启用,104-已丢失,105-待清除,106-已清除",notes = "102-已注册,103-已启用,104-已丢失,105-待清除,106-已清除")
    private Integer deviceStatusId;

    @ApiModelProperty(name = "isCrack", value = "是否破解，1:已破解，0：为破解",notes = "1:已破解，0：为破解")
    private Integer isCrack;

    @ApiModelProperty(name = "hasSim", value = "是否有sim卡，1:有sim卡，0：无sim卡",notes = "1:有sim卡，0：无sim卡")
    private Integer hasSim;

    @ApiModelProperty(name = "isSimChanged",value = "SIM卡是否变更，前端维护，1：是，0：否",notes = "前端维护，1：是，0：否")
    private Integer isSimChanged;

    @ApiModelProperty(name = "electroTime", value = "用电时长")
    private String electroTime;

    @ApiModelProperty(name = "signalSource", value = "信号源")
    private String signalSource;

    @ApiModelProperty(name = "signalValue", value = "信号值")
    private String signalValue;

    @ApiModelProperty(name = "hasSd",value = "是否有SD，前端维护,1:含有sd,0:无sd",notes = "前端维护,1:含有sd,0:无sd")
    private Integer hasSd;

    @ApiModelProperty(name = "sdChanged",value = "SD是否变更，前端维护,1:变更，0：未变更",notes = "前端维护,1:变更，0：未变更")
    private Integer sdChanged;

    @ApiModelProperty(name = "cpuUsage",value = "CPU使用率，80%,返回80即可",notes = "80%,返回80即可")
    private BigDecimal cpuUsage;

    @ApiModelProperty(name = "isIllegalTerminate",value = "是否非法关机，前端维护，1：是，0：否",notes = "前端维护，1：是，0：否")
    private Integer isIllegalTerminate;

    @ApiModelProperty(name = "batteryp", value = "电量百分比，80%,返回80即可",notes = "80%,返回80即可")
    private BigDecimal batteryp;

    @ApiModelProperty(name = "chargeStatusId", value = "充电状态,1:充电，2:未充电")
    private Integer chargeStatusId;

    @ApiModelProperty(name = "memoryUsed", value = "内存可用，1.6G,返回1.6即可",notes = "1.6G,返回1.6即可")
    private BigDecimal memoryUsed;

    @ApiModelProperty(name = "memoryAll", value = "内存总量，同上",notes = "同上")
    private BigDecimal memoryAll;

    @ApiModelProperty(name = "onlineStatusId", value = "是否在线Id,数据字典，1:在线，2：离线",notes = "1:在线，2：离线")
    private Integer onlineStatusId;

    @ApiModelProperty(name = "longitude", value = "经度，正负区分",notes = "正负区分")
    private String longitude;

    @ApiModelProperty(name = "latitude", value = "纬度")
    private String latitude;

    @ApiModelProperty(name = "description", value = "描述")
    private String description;

    @ApiModelProperty(name = "facilityId", value = "设备表ID，设备调用此接口不用上传该属性",notes = "设备调用此接口不用上传该属性")
    private Long facilityId;

    @ApiModelProperty(name = "rdstatus", value = "该设备是否删除，数据状态 0删除 1正常",notes = "数据状态 0删除 1正常")
    private Integer rdStatus;
}
